from datetime import datetime

from app.schema.base import InfoSchema, RespDetailSchema
from uuid import uuid4

class AiInfoSchema(InfoSchema):
    user_id: int=0
    avatar:str
    name:str
    greet:str
    url:str
    page:str=None
    vector_name:str=None
    add_num:int = 0
    
class AiDetailSchema(AiInfoSchema):
    created_time: datetime
    updated_time: datetime


class AiRespDetailSchema(RespDetailSchema):
    detail: AiDetailSchema = None

class AiUpdateSchema(InfoSchema):
    avatar:str=None
    name:str=None
    greet:str=None
    url:str=None
    page:str=None
    id:int